package com.rightsidetech.activity.mapper;

import com.rightsidetech.activity.dto.response.gift.ActGiftNumResp;
import com.rightsidetech.activity.entity.ActActivityNum;

import java.util.List;
import java.util.Map;

public interface ActActivityNumMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ActActivityNum record);

    int insertSelective(ActActivityNum record);

    ActActivityNum selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ActActivityNum record);

    int updateByPrimaryKey(ActActivityNum record);

    int insertList(Map<String, Object> map);

    List<ActGiftNumResp> selectByGiftActivityId(Long giftActivityId);

    int deleteByActivityId(Long giftActivityId);

    List<ActActivityNum> selectBaseByGiftActivityId(Long id);
}